Error uploading by FTP

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Re: Error uploading by FTP Wed Feb 05, 2014 6:25 pm • by MoodyM
Afraid not.

What I do have is an Automator workflow that upload to the same FTP folder just fine. I've set Hazel to run that workflow, and it works great.
MoodyM
 
Posts: 34
Joined: Tue Aug 13, 2013 7:36 am

Re: Error uploading by FTP Wed Feb 05, 2014 6:29 pm • by Mr_Noodle
Another thing to try is to turn on connection logging. Turn on debug mode as described in the sticky article near the top of this forum. Then, go into Terminal and enter the following:

Code: Select all
    defaults write com.noodlesoft.Hazel LogTags -array CONNECTION


That should log a bunch of extra stuff. Hopefully I can isolate the operation that it is timing out on there.
Mr_Noodle
Site Admin
 
Posts: 11880
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Error uploading by FTP Thu Feb 06, 2014 1:52 pm • by MoodyM
Here's the debug log:

Code: Select all
 Marker - 6 Feb 2014 17:46:54
2014-02-06 17:47:10.136 hazelworker[975] DEBUG: Program is licensed.
2014-02-06 17:47:10.148 hazelworker[975] DEBUG: Unexpected type for Mail download URL: (null)
2014-02-06 17:47:10.152 hazelworker[975] Processing folder <directory>
2014-02-06 17:47:10.152 hazelworker[975] DEBUG: Initialized
2014-02-06 17:47:10.152 hazelworker[975] DEBUG: Pausing to wait for things to settle down.
2014-02-06 17:47:12.244 hazelworker[975] DEBUG: Processing directories: (
    "/Users/<username>/Dropbox/<directory>"
)
2014-02-06 17:47:12.244 hazelworker[975] DEBUG: About to process directory /Users/<username>/Dropbox/<directory>
2014-02-06 17:47:12.248 hazelworker[975] DEBUG: Received file event: {
    date = "2014-02-06 17:47:10 +0000";
    path = "<ComNoodlesoft_NoodlePathSet: 0x7f8970e2ed40> - (\n    \"/Users/<username>/Dropbox/<directory>\"\n)";
}
2014-02-06 17:47:12.250 hazelworker[975] DEBUG: .DS_Store: File is hidden/invisible. Skipping.
2014-02-06 17:47:12.296 hazelworker[975] <filename>.torrent: Rule <rulename> matched.
2014-02-06 17:47:12.296 hazelworker[975] DEBUG: New rule signature. Executing actions.
Old signature: (null)
New Signature:{ANY displayExtensions ==[cd] "torrent"}:{(upload:sftp://<ftpaddress>/media/<disk>/home/<username>/private/rtorrent/watch/,{
    keepFolderStructure = 0;
    replaceExisting = 1;
})(move:/Users/<username>/.Trash,{
    replaceExisting = 0;
    throwAwayDupes = 0;
})(notify:(
    "{file}",
    "uploaded to Feral."
),{
})}
2014-02-06 17:47:42.410 hazelworker[975][CONNECTION] DEBUG: Uploading <file>.torrent to /media/<disk>/home/<username>/private/rtorrent/watch/<file>.torrent

2014-02-06 17:48:12.497 hazelworker[975] Timeout uploading file /Users/<username>/Dropbox/<directory>/<file>.torrent to sftp://<username>@<ftpserver>/media/<disk>/home/<username>/private/rtorrent/watch/<filename>.torrent.
2014-02-06 17:48:12.550 hazelworker[975] [Error] Upload failed: Could not upload file <file>.torrent from folder /Users/<username>/Dropbox/<directory> to server <ftpserver>
2014-02-06 17:48:12.551 hazelworker[975] DEBUG: Tapping error retry sequence
2014-02-06 17:48:12.551 hazelworker[975] DEBUG: Writing out DB file: /Users/<username>/Dropbox/<directory>
2014-02-06 17:48:12.552 hazelworker[975] DEBUG: Directory /Users/<username>/Dropbox/<directory> processed in 60.304958 seconds
2014-02-06 17:48:12.552 hazelworker[975] DEBUG: Sleeping
2014-02-06 17:48:14.645 hazelworker[975] DEBUG: About to process directory /Users/<username>/Dropbox/<directory>
2014-02-06 17:48:14.647 hazelworker[975] DEBUG: .DS_Store: File is hidden/invisible. Skipping.
2014-02-06 17:48:14.648 hazelworker[975] <file>.torrent: Rule Upload to Feral matched.
2014-02-06 17:48:14.648 hazelworker[975] DEBUG: Got error last time. Re-trying actions.
2014-02-06 17:48:44.746 hazelworker[975][CONNECTION] DEBUG: Uploading <file>.torrent to /media/<disk>/home/<username>/private/rtorrent/watch/<file>.torrent

2014-02-06 17:49:14.846 hazelworker[975] Timeout uploading file /Users/<username>/Dropbox/<directory>/<file>.torrent to sftp://<username>@<ftpserver>/media/<disk>/home/<username>/private/rtorrent/watch/<filename>.torrent.
2014-02-06 17:49:14.847 hazelworker[975] [Error] Upload failed: Could not upload file <file>.torrent from folder /Users/<username>/Dropbox/<directory> to server <ftpserver>
2014-02-06 17:49:14.847 hazelworker[975] DEBUG: Tapping error retry sequence
2014-02-06 17:49:14.848 hazelworker[975] DEBUG: Writing out DB file: /Users/<username>/Dropbox/<directory>
2014-02-06 17:49:14.850 hazelworker[975] DEBUG: Directory /Users/<username>/Dropbox/<directory> processed in 60.202846 seconds
2014-02-06 17:49:14.850 hazelworker[975] DEBUG: Sending metrics to scheduler. Next scheduled run: 2014-02-06 17:54:14.847
2014-02-06 17:49:14.852 hazelworker[975] Done processing folder <directory>
 
MoodyM
 
Posts: 34
Joined: Tue Aug 13, 2013 7:36 am

Re: Error uploading by FTP Fri Feb 07, 2014 1:25 pm • by Mr_Noodle
How big is the file being uploaded? How long does it take to upload if you use another program to do it?
Mr_Noodle
Site Admin
 
Posts: 11880
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Error uploading by FTP Fri Feb 07, 2014 3:06 pm • by MoodyM
A few kilobytes and seconds.
MoodyM
 
Posts: 34
Joined: Tue Aug 13, 2013 7:36 am

Re: Error uploading by FTP Mon Feb 10, 2014 1:57 pm • by Mr_Noodle
Unfortunately, I'm not seeing any clue as to why it's timing out like that. Can you replicate it with other servers or does it only happen with this one?
Mr_Noodle
Site Admin
 
Posts: 11880
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Error uploading by FTP Mon Feb 10, 2014 2:24 pm • by MoodyM
I don't have access to any other FTP servers
MoodyM
 
Posts: 34
Joined: Tue Aug 13, 2013 7:36 am

Re: Error uploading by FTP Tue Feb 11, 2014 3:59 pm • by Mr_Noodle
I'll have to think about it but unfortunately, I don't have that much to go on here. Is this server one that I could open an account on and get access to?
Mr_Noodle
Site Admin
 
Posts: 11880
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Error uploading by FTP Tue Jun 24, 2014 10:02 am • by dudeslife
I am having the same problem sftp uploading to a Centos server (newest mavericks, newest hazel) on a macbook pro. I emailed you the error log.
dudeslife
 
Posts: 18
Joined: Tue Jun 24, 2014 9:53 am

Re: Error uploading by FTP Tue Jun 24, 2014 2:59 pm • by Mr_Noodle
Please do as above and post the resulting logs.
Mr_Noodle
Site Admin
 
Posts: 11880
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Previous

Return to Support

cron