Error sending images by ftp

Bugreports = Bugfixes

Error sending images by ftp

Postby Nacho75 » Fri Jan 13, 2023 9:09 am

Hello, I have Shuttersnitch installed on an ipad pro with IpadOs 16.2 and when sending photos to an ftp it gives me a timeout error or no connection to the server, so with some photos yes and others no. especially when I'm connected to my router's wifi or any other router via wifi and ethernet, if I connect the ipad via wifi to my mobile data I don't have that problem and the sending process is done correctly. There are also photos that give an error but when checking the ftp server the photo has passed. I am attaching a screenshot of the moment of the error. Greetings and thank you
Attachments
935A1C3F-0420-4DA3-89C3-EA28530ADBEB.png
935A1C3F-0420-4DA3-89C3-EA28530ADBEB.png (5.81 MiB) Viewed 3438 times
D8E5AB2F-A7BA-4D9C-97C6-D12A343E4EE2.png
D8E5AB2F-A7BA-4D9C-97C6-D12A343E4EE2.png (4.94 MiB) Viewed 3438 times
Nacho75
 
Posts: 5
Joined: Thu Jan 12, 2023 6:45 pm

Re: Error sending images by ftp

Postby TheBrew » Fri Jan 13, 2023 10:28 am

Since things work using the mobile network, it's a good bet that you have a router issue.

Maybe, if you're lucky, switching the way you're pointing to the server can solve it? That is: If you've put in an IP address in the Host field of the FTP location, try changing it to the hostname instead (or vice versa: if you've put in the hostname, try changing it to the IP address instead). Maybe that resolving (or lack of resolving) will avoid whatever's causing the issue.

iOS does some internal shuffling to try to get you to the target host, depending on the current network reachability (mobile/wifi), but FTP in particular is super basic compared to other protocols. If WebDAV is an option for you, I recommend you try using that instead - much better handling of routing. (Note: in case you bought ShutterSnitch before it became subscription based and you're not a subscriber, I added support for this improved WebDAV/Dropbox/Google Drive/Flickr/SmugMug/Zenfolio routing as a subscription feature. Edit: from v5.9 it's possible for subscribers to choose a specific network interface to use while editing the location.)
Support the development of ShutterSnitch: Rate/review it on The App Store, Toot about it, make Youtube videos, blog about it.. Get the word out.
TheBrew
The Developer
 
Posts: 5012
Joined: Wed May 05, 2010 8:48 pm
Location: Denmark

Re: Error sending images by ftp

Postby Ant » Fri Mar 24, 2023 11:35 am

Hello TheBrew,

Unfortunately, WebDAV and HTTP are not viable options for us. We can exclusively use FTP.

We were hopeful that this new routing option would work since, as you mentioned, FTP is an old eratic protocol: quite often, when the iphone is connected in 4G to internet and a camera is connected in Wifi to the iPhone hotspot, for no reason it tries to connect to internet through the wifi, which means through the camera, instead of using the 4G...
But we must say that we are experiencing issues with the routing option, the reactions we are observing when trying to use Default/Fallback/Static routes do not seem logical.
For example the Camera connected to the iPhone hotspot (in wifi) + Iphone connected in 4G to internet > Routing on "Fallback to cellular". It is always in error eventhough it should "let iOS pick the best route" first
To confirm the issue, we conducted a simple test:
We switched OFF the wifi of the iPhone, we let the iPhone connected to internet via 4G, we imposed the 4G route statically to Shuttersnitch (which is obviously the only one available), shutterSnitch cannot find the route to the FTP server
But if we choose Default, and "let iOS pick the best route" (the only available route is 4G) it works.

If you need a Traffic inspector log files we can of course provide it to you .

(Shuttersnitch 5.9.1 Installed on iPhone with iOS 16.3.1)

Thanks for your help
Ant
 
Posts: 109
Joined: Thu Nov 29, 2018 12:29 pm

Re: Error sending images by ftp

Postby TheBrew » Fri Mar 24, 2023 11:49 am

Sure, please post a Traffic Inspector log.

Does it work in Static mode?
Support the development of ShutterSnitch: Rate/review it on The App Store, Toot about it, make Youtube videos, blog about it.. Get the word out.
TheBrew
The Developer
 
Posts: 5012
Joined: Wed May 05, 2010 8:48 pm
Location: Denmark

Re: Error sending images by ftp

Postby Ant » Fri Mar 24, 2023 12:48 pm

Which one would you like ?

In STATIC

If iPhone is 4G internet (wifi off) : the cellular route does not work
If iPhone is 4G internet & wifi internet: both wifi & cellular routes work
If iPhone is 4G internet & Wifi to camera : the cellular route does not work
Ant
 
Posts: 109
Joined: Thu Nov 29, 2018 12:29 pm

Re: Error sending images by ftp

Postby TheBrew » Fri Mar 24, 2023 1:00 pm

One where it fails, obviously. :)

Since your problem is most likely DNS related, how does it work if you change the hostname of your FTP setup to have the IP address instead?
Support the development of ShutterSnitch: Rate/review it on The App Store, Toot about it, make Youtube videos, blog about it.. Get the word out.
TheBrew
The Developer
 
Posts: 5012
Joined: Wed May 05, 2010 8:48 pm
Location: Denmark

Re: Error sending images by ftp

Postby Ant » Fri Mar 24, 2023 2:22 pm

So,

iPhone is 4G internet (wifi off)
STATIC -> cellular
FTP IP is fixed = The process involves multiple attempts, and each attempt takes 1 minute.



14:11:22.660 Failed to get IP address from devices: {
lo0 = "127.0.0.1";
"pdp_ip0" = "192.0.0.2";
}
14:11:22.693 ShutterSnitch v5.9.1 (51660) User since build 1.1.9
Device: iPhone13,2, 64-bit, iOS 16.3.1
In-App Purchases: Latest subscription expiration/renewal date: 1 Mar 2024 at 18:28:10 Free memory: 549 847 040 Free disk space: 126 001 651 712
Time: 24 Mar 2023 at 14:11:22
IP: Disconnected
FTP port: 26000
WebDAV port: 8080
Eye-Fi: Disabled (0 cards)
PTP/IP: Disabled
Transcend Wi-Fi card transfers: Disabled Toshiba FlashAir transfers: Disabled ezShare transfers: Disabled PQI Air / Air Direct transfers: Disabled GoPro transfers: Disabled Panasonic LUMIX LINK transfers: Disabled Sony DLNA transfers: Disabled Canon UPnP transfers: Disabled Fujifilm transfers: Disabled
14:11:22.696 Listening…
14:11:24.706 Starting services
14:11:25.715 Failed to get IP address from devices: {
lo0 = "127.0.0.1";
"pdp_ip0" = "192.0.0.2";
}
14:11:37.071 Action Export: {
Action = {
FileID = 50d37e4444a9545bf5317ff00d1ba7a4;
MaximumUploadRetries = 20;
Type = 1;
failurePreset = "1D034908-2CCC-477A-ACDC-48482DBF4E7E-24836-0000042BA2B1DD1B";
locationID = "B4E2FAAF-DE55-4AC6-AA89-6FCF800066DE-24836-00000436A610A306";
successPreset = "D1F88A6C-7953-4A74-9096-73938B0F1D98-24836-0000042B373009A8";
title = "Export";
};
Collection = {
LastImportFilename = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
created = "2023-03-23 13:40:25 +0000";
currentSelection = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
dirname = "240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282";
title = "23 Mar 2023 at 14:40";
version = 1;
};
Filename = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
} Location: {
SendAsHEIC = 0;
description = "Test";
host = "xx.xx.xx.xx";
includeExtension = "WAV";
port = 21;
resizeImagesCustomSize = 0;
routingInterface = "pdp_ip0";
routingType = 2;
type = FTP;
user = xxxx;
uuid = "B4E2FAAF-DE55-4AC6-AA89-6FCF800066DE-24836-00000436A610A306";
}
14:11:37.110 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:11:37.127 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:11:37.134 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xx.xx.xx.xx to become reachable... (1 out of 20 retries)
14:12:38.404 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:12:38.412 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:12:38.420 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xx.xx.xx.xx to become reachable... (2 out of 20 retries)
14:13:39.696 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:13:39.704 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:13:39.715 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xx.xx.xx.xx to become reachable... (3 out of 20 retries)
14:14:41.001 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:14:41.008 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:14:41.018 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xx.xx.xx.xx to become reachable... (4 out of 20 retries)
708d50edf7ccfd168bd86aa9b41ac3b9


Ant
 
Posts: 109
Joined: Thu Nov 29, 2018 12:29 pm

Re: Error sending images by ftp

Postby TheBrew » Fri Mar 24, 2023 2:32 pm

Dang, well, yeah if it fails connecting directly to an IP, then I'm afraid there's nothing I can do, sorry. There's *something* in your scenario that causes cURL to fail. :(

Shot in the dark - try turning Passive off for the FTP connection?
Support the development of ShutterSnitch: Rate/review it on The App Store, Toot about it, make Youtube videos, blog about it.. Get the word out.
TheBrew
The Developer
 
Posts: 5012
Joined: Wed May 05, 2010 8:48 pm
Location: Denmark

Re: Error sending images by ftp

Postby Ant » Fri Mar 24, 2023 2:32 pm

iPhone is 4G internet (wifi off)
STATIC -> cellular
FTP address = The process involves multiple attempts, and each attempt takes 3 seconds. the only difference I can observe



14:23:41.652 Failed to get IP address from devices: {
lo0 = "127.0.0.1";
"pdp_ip0" = "192.0.0.2";
}
14:23:41.668 ShutterSnitch v5.9.1 (51660) User since build 1.1.9
Device: iPhone13,2, 64-bit, iOS 16.3.1
In-App Purchases: Latest subscription expiration/renewal date: 1 Mar 2024 at 18:28:10 Free memory: 11 927 552 Free disk space: 125 985 710 080
Time: 24 Mar 2023 at 14:23:41
IP: Disconnected
FTP port: 26000
WebDAV port: 8080
Eye-Fi: Disabled (0 cards)
PTP/IP: Disabled
Transcend Wi-Fi card transfers: Disabled Toshiba FlashAir transfers: Disabled ezShare transfers: Disabled PQI Air / Air Direct transfers: Disabled GoPro transfers: Disabled Panasonic LUMIX LINK transfers: Disabled Sony DLNA transfers: Disabled Canon UPnP transfers: Disabled Fujifilm transfers: Disabled
14:23:41.671 Listening…
14:23:47.064 Starting services
14:23:48.072 Failed to get IP address from devices: {
lo0 = "127.0.0.1";
"pdp_ip0" = "192.0.0.2";
}
14:24:00.680 Action Export: {
Action = {
FileID = 50d37e4444a9545bf5317ff00d1ba7a4;
MaximumUploadRetries = 20;
Type = 1;
failurePreset = "1D034908-2CCC-477A-ACDC-48482DBF4E7E-24836-0000042BA2B1DD1B";
locationID = "B4E2FAAF-DE55-4AC6-AA89-6FCF800066DE-24836-00000436A610A306";
successPreset = "D1F88A6C-7953-4A74-9096-73938B0F1D98-24836-0000042B373009A8";
title = "Export to Test";
};
Collection = {
LastImportFilename = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
created = "2023-03-23 13:40:25 +0000";
currentSelection = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
dirname = "240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282";
title = "23 Mar 2023 at 14:40";
version = 1;
};
Filename = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
} Location: {
SendAsHEIC = 0;
description = "Test";
host = "XXXXXXXXXX.com";
includeExtension = "WAV";
port = 21;
resizeImagesCustomSize = 0;
routingInterface = "pdp_ip0";
routingType = 2;
type = FTP;
user = XXXXX;
uuid = "B4E2FAAF-DE55-4AC6-AA89-6FCF800066DE-24836-00000436A610A306";
}
14:24:01.036 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:01.050 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:01.059 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (1 out of 20 retries)
14:24:03.093 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:03.103 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:03.111 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (2 out of 20 retries)
14:24:05.151 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:05.160 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:05.168 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (3 out of 20 retries)
14:24:07.207 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:07.216 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:07.223 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (4 out of 20 retries)
14:24:09.262 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:09.271 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:09.278 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (5 out of 20 retries)
14:24:11.317 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:11.325 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:11.333 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (6 out of 20 retries)
14:24:13.370 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:13.379 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:13.386 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (7 out of 20 retries)
14:24:15.426 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:15.435 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:15.443 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (8 out of 20 retries)
14:24:17.479 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:17.488 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:17.495 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (9 out of 20 retries)
14:24:19.536 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:19.545 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:19.552 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (10 out of 20 retries)
14:24:21.591 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:21.600 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:21.607 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (11 out of 20 retries)
14:24:23.644 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:23.652 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:23.660 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (12 out of 20 retries)
14:24:25.701 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:25.709 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:25.717 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (13 out of 20 retries)
14:24:27.754 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:27.762 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:27.770 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (14 out of 20 retries)
14:24:29.808 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:29.816 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:29.824 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (15 out of 20 retries)
14:24:31.865 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:31.874 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:31.882 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (16 out of 20 retries)
14:24:33.920 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:33.926 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:33.934 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (17 out of 20 retries)
14:24:35.971 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:35.980 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:35.988 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (18 out of 20 retries)
14:24:38.020 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:38.026 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:38.036 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (19 out of 20 retries)
14:24:40.072 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:40.080 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:40.095 Upload failed. Error Domain=Failed to export Code=-1001 "Couldn't connect to server" UserInfo={NSLocalizedDescription=Couldn't connect to server}.
Waiting for xxxxxxxxx.com to become reachable... (20 out of 20 retries)
14:24:42.127 LocationExport: Sending IMP_0011.JPG to ftp://xx.xx.xx.xx:21/IMP_0011.JPG (PASV)
14:24:42.134 LocationExport: Failed to initiate CURL connection. Respoonse: Couldn't connect to server (7)
14:24:42.154 Action updateTags: {
Action = {
Type = 10;
addTags = (
"669549138.331195"
);
removeTags = (
);
};
Collection = {
LastImportFilename = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
created = "2023-03-23 13:40:25 +0000";
currentSelection = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
dirname = "240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282";
title = "23 Mar 2023 at 14:40";
version = 1;
};
Filename = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
}
a72df725874fc62425204f9aeb9eff2b
Ant
 
Posts: 109
Joined: Thu Nov 29, 2018 12:29 pm

Re: Error sending images by ftp

Postby Ant » Fri Mar 24, 2023 2:41 pm

iPhone is 4G internet (wifi off)
Route = Default ("iOS picks the best route" which is obviously 4G)
FTP = address


Here it works (this time)



14:34:23.660 Failed to get IP address from devices: {
lo0 = "127.0.0.1";
"pdp_ip0" = "192.0.0.2";
}
14:34:23.677 ShutterSnitch v5.9.1 (51660) User since build 1.1.9
Device: iPhone13,2, 64-bit, iOS 16.3.1
In-App Purchases: Latest subscription expiration/renewal date: 1 Mar 2024 at 18:28:10 Free memory: 102 940 672 Free disk space: 125 963 124 736
Time: 24 Mar 2023 at 14:34:23
IP: Disconnected
FTP port: 26000
WebDAV port: 8080
Eye-Fi: Disabled (0 cards)
PTP/IP: Disabled
Transcend Wi-Fi card transfers: Disabled Toshiba FlashAir transfers: Disabled ezShare transfers: Disabled PQI Air / Air Direct transfers: Disabled GoPro transfers: Disabled Panasonic LUMIX LINK transfers: Disabled Sony DLNA transfers: Disabled Canon UPnP transfers: Disabled Fujifilm transfers: Disabled
14:34:23.681 Listening…
14:34:26.896 Starting services
14:34:27.906 Failed to get IP address from devices: {
lo0 = "127.0.0.1";
"pdp_ip0" = "192.0.0.2";
}
14:34:31.697 Action Export: {
Action = {
FileID = 50d37e4444a9545bf5317ff00d1ba7a4;
MaximumUploadRetries = 20;
Type = 1;
failurePreset = "1D034908-2CCC-477A-ACDC-48482DBF4E7E-24836-0000042BA2B1DD1B";
locationID = "B4E2FAAF-DE55-4AC6-AA89-6FCF800066DE-24836-00000436A610A306";
successPreset = "D1F88A6C-7953-4A74-9096-73938B0F1D98-24836-0000042B373009A8";
title = "Export to Test xxxx";
};
Collection = {
LastImportFilename = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
created = "2023-03-23 13:40:25 +0000";
currentSelection = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
dirname = "240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282";
title = "23 Mar 2023 at 14:40";
version = 1;
};
Filename = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
} Location: {
SendAsHEIC = 0;
description = "Test";
host = "xxxxxxxx.com";
includeExtension = "WAV";
port = 21;
resizeImagesCustomSize = 0;
routingInterface = "pdp_ip0";
routingType = 0;
type = FTP;
user = test;
uuid = "B4E2FAAF-DE55-4AC6-AA89-6FCF800066DE-24836-00000436A610A306";
}
14:34:31.729 LocationExport: Sending IMP_0011.JPG to ftp://xxxxxxxx.com:21/IMP_0011.JPG (PASV)
14:34:34.324 LocationExport: Updating modified-time
14:34:35.378 LocationExport: Updating created-time (if supported)
14:34:35.945 Action updateTags: {
Action = {
Type = 10;
addTags = (
"669549118.822787"
);
removeTags = (
);
};
Collection = {
LastImportFilename = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
created = "2023-03-23 13:40:25 +0000";
currentSelection = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
dirname = "240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282";
title = "23 Mar 2023 at 14:40";
version = 1;
};
Filename = "/var/mobile/Containers/Data/Application/89DAFC0B-8B45-4F28-80E1-1834AF75A690/Documents/Shoots/240BE7D4-BC9B-4645-902A-7D2D63FE52DE-12477-000003546D1E1282/IMP_0011.JPG";
}
d805ef41f09bf86169d3587e186c77f1
Ant
 
Posts: 109
Joined: Thu Nov 29, 2018 12:29 pm

Next

Return to Bugs

Who is online

Users browsing this forum: No registered users and 4 guests