Is there a possibility to check up, when a file is opened etc. on a Dropbox account? I thought of a simple script on the server, which will send an automatic Mail to me.
Related
So I'm trying to make a "launcher" in visual basic. This launcher contains login forms (username/password). I have a Filezilla server up and 2 accounts. I'd like to connect with the server and download files in the background as not to disrupt work. I'm not much of a coder, but I tried to tie this up with "winSCP", what I did was only launch and connect to the server, but the user still has to enter username and password, which was entered before (with the login form).
Also how would I change the "USER" part, like with batch files when you can use "%username%" instead of actual username?
If ComboBox1.Text = "Server EU #1" Then
Process.Start("C:\Users\USER\Desktop\winscp573\WinSCP.exe", "ftp:[server IP]")
End If
If at all possible I'd like to avoid using other programs and keep it as simple as possible.
TL;DR
Login with visual studio to filezilla server (FTP), not using other programs
upload files from main computer to the user (automatically starts uploading CERTAIN files/folders, everything running in the background as not to disrupt work, aka nothing popping up)
Change [USER] part of code so that it is always the correct user (like batch files use "%username%")
P.S.
maybe I could use windows build it FTP to connect and download?
I want to email myself an error log stored on AWS EC2 instance to help me troubleshoot an issue I am having while trying to remote desktop to the machine. This is a one time thing - I am not going to use EC2 to send emails reguarly from a web app etc. Reading this link it says:
Q: Are there any limitations in sending email from EC2 instances?
Yes. In order to maintain the quality of EC2 addresses for sending
email, we enforce default limits on the amount of email that can be
sent from EC2 accounts. If you wish to send larger amounts of email
from EC2, you can apply to have these limits removed from your account
by filling out this form.
So this means I should be able to send a few emails without any problem. I tried emailing myself the error log like this:
cat log.txt | sudo mailx me#yahoo.com
It does not give any error but the file is never delivered. I think its never send out. How can I troubleshoot this? I am not familiar with unix. Reading around a bit mailq shows me this:
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
6295B488F5 37616 Wed Apr 1 02:10:30 root#ip-xxx-xx-x-xx.us-west-2.compute.internal a#yahoo.com
I don't know what to do beyond this.
EDIT: Its funny. I did get the messages delivered to my inbox but it was only after about 2 days.
If you have ssh access to the box,just use scp to get the file. E.g., from OSX command line:
scp -i your.pem ubuntu#ec2-1-2-3-4.compute-1.amazonaws.com:your_file your_file
This is for "ubuntu" login, with "your_file" in home directory, saved to same name locally. I guess there are GUI versions also, e.g., I used to use Putty on Windows.
I have a question about my application built in Oracle APEX 4.2. This application has a process to send emails (when a user changes his password or requests a password reset).
When I run this application online on my "apex.oracle.com" account, it runs fine. But when I run it on my home computer (running Windows 7), the email process doesn't work. Probably it is because my home server is not an email server.
Can someone please help me so that my home computer is able to send emails via my above mentioned application?
Thanks in advance.
you have several options:
Configure a local SMTP server so it can be use by APEX and send emails.
Connect to a remote server - like Google - and sends emails that way (you have to open a new account and connect with that and also there's some certificate problems, https://arkatec.wordpress.com/2011/08/15/sending-email-using-oracle-database-and-google-mail-service/)
Use htmldb_mail package (I haven't tried this one)
In the first options you need to construct a procedure that does all the work for you.
You can use one of this:
http://www.orafaq.com/wiki/Send_mail_from_PL/SQL
Important: keep in my that you're going to encounter permission issues with the UTL packages (grant execute on UTL_XXX to USER) and algo, if you're are working on 11g you need to create an ACL
I'm working on a android application that writes, in some parts, in a FileZilla server. In my code, I provide the login and password for the FileZilla so that the client could send some pictures and videos to it.
The client later on needs to read the FTP content (Display it), but for that purpose, he needs to enter the login and password, which I can't provide him otherwise he could write whatever he wants in my server.
Is there any way to require a login and password for writing in the FTP server, but not in the reading ??
You can setup two accounts on the server. One with read-only access, and one with write access. Provide the client with password to read-only account. Or you can allow even anonymous read-only access to the server.
EDIT: Also, be aware that it would not be a problem for a hacker to retrieve the hard-coded password from your Android application binary. Make sure you restrict the area, where the account can write to, ideally to a single folder only. You should also set disk quota for the account, so that the hacker cannot fill your server's disk. And you should definitelly monitor the writable folder for an unusual activity.
I made a dumb mistake and am hoping someone is smart enough to help me out of it :)
Using CDOSYS to send email from VBSCRIPT on an old web site. Switched servers; new host requires using a specific IP address for outgoing mail server. My previous host required simply "localhost" I failed to change that for a particular page. Analytics show me the form was submitted and, you guessed it, I would really like to have the contents of that failed email.
It never registered within SmarterMail, so it isn't in the logs there... Could at least part of the info be stored away in a log file somewhere? I was able to access the site logs and determine the IP address of the user that completed the form if that helps.
Thanks for taking the time and for any ideas!
It is possible it's in the local SMTP server's "badmail" folder. If it's not there, you're out of luck.