I am a newbie, I am using Quectel ec25-e GSm module. I am trying to send upload & and download data from FTP server. For this I am have gone through following steps:-
1. AT+QICSGP=1,1,"WWW","","",1 //Configure PDP context 1
2. AT+QIACT=1 //Activate PDP context 1.
3. AT+QFTPCFG="contextid",1 //Configure the PDP context ID as 1
4. AT+QFTPCFG="account","User","pass" //Set user name and password
5. AT+QFTPCFG="filetype",1 //Set file type as binary
6. AT+QFTPCFG="transmode",1 //Set transfer mode as passive mode.
7. AT+QFTPCFG="rsptimeout",150 //Set response timeout value
8. AT+QFTPOPEN="122.160.158.240",21 // Login to FTP server
Login part is working fine, Now I choose my working directory :-
AT+QFTPCWD="/test" //Set current directory.
I can also create, rename and delete folder with following commands:-
AT+QFTPMKDIR="check" //Create a folder as “check” on FTP(S) server.
AT+QFTPRENAME="check","check1" //Rename a folder.
AT+QFTPRMDIR="check1" //Delete a folder
Till now every thing is fine. but now i am trying to list out all file is the folder ( while I know I have some file out there), it just wait for timeout and then give error. My command is :-
AT+QFTPNLST="." //List file names of current directory
And my output is:-
+CME ERROR: 609
+CME ERROR: 609 means Timeout error .And same goes with uploading data.unfortunately Quectel is not providing documents for this module anymore. So, I can't share link. So I am attaching screen shots of application notes.Please tell me what i am missing here
Note* i have upgraded GSM firmware, but no success.
in FTP trans mode should be in active mode, so changing
AT+QFTPCFG="transmode",1
to
AT+QFTPCFG="transmode",0
works.
Related
I'm using VB.NET to copy fingerprint template from one device to another. I've successfully pulled fingerprint template from the origin device using SSR_GetUserTmpStr. However, when set the fingerprint template to destination device using SSR_SetUserTmpStr returns -100.
SSR_SetUserInfo was successfull and the new user was registered at the destination device.
Please advice.
I have this problem that I hope someone can help solve.
I have an orchestration that as input receive a file (message as Microsoft.XLANGs.BaseTypes.Any). Just a file with some unstructured text.
I have created a Dynamic send port that save the received file in a backup folder.
The issue is that when someone send the same file (with the same filename), it doesn't overwrite the file in the backup folder.
when a try this following in a constructMessage shape
Message_new = orgMessage;
Message_new(FILE.CopyMode)= 2; //2=overwrite,
Both message are of same type: Microsoft.XLANGs.BaseTypes.Any
I'm getting this error:
Error 1 use of unconstructed message 'orgMessage'
'': message has not been initialized in
The error you got is not linked to the dynamic port neither the copy mode.
You are trying to assign to your message named "NewMessage" a message that is not constructed neither received in the orchestration.
Please check that the message named "orgMessage" is a message that was received via a receive shape or if it is constructed before your message assignment.
I'm struggling to figure out what exactly is happening. I am using GdPicture to save a scanned document through java script using their COM+ code and source project as my starting ground. Long story short is their function issues a HTTP PUT command specifying the file name to be saved.
When I execute the command I see that the request is getting to my server, and even has the appropriate content size to include the pdf document. I even get a 200 response back to my browser, no errors or anything...... yet the pdf doesn't get saved. Is that because PUT isn't the right way to do this? I don't have the option to POST the file because the transfer is wrapped in GdPicture's api... so with that said.
I have done the following
Ensured that IIS_IUSRS group has write permissions to the "Upload" virtual directory
Added a handler that specifically allows the PUT verb for "*.pdf"
Removed the StaticFileHandler for the "Upload" virtual directory
I aplogize for the links, but I don't have 10 rep points yet
PUT Request from FIDDLER
Response
** Edit **
More information about GdPicture, I have already contacted them and their function is not the problem. The implementation is as simple as
var status = oGdViewer.SaveDocumentToPDF_2("http://domain.com/Annotation/Upload/" + FileName, "user", "pass");
Thanks!
I am trying to get the twitter module (7.x-5.4) running on my local drupal 7.19 website. Already installed Oauth and registered a twitter app. I am using the keys of that twitter app.
Callback URL
http://localhost/drupal-7.19/twitter/oauth
twitter host
http://twitter.com
Twitter API
https://api.twitter.com
Twitter search
http://search.twitter.com
TinyURL
http://tinyurl.com
when I want to add at least my own twitter account so that the site can display my tweets. when I want to add this account, an error occurs:
Notice: Undefined property: stdClass::$data in Twitter->request() (line 131 of root\modules\twitter\twitter.lib.php).
Could not obtain a valid token from the Twitter API. Please review the configuration.
any ideas? thanks in advance.
In my case, uncommenting the line
extension=php_openssl.dll
in php.ini resolved the error.
I'm not sure this will work for you, but this worked for me. I had the same exact error, even though I had followed the documentation. Here's the test: go to admin/reports/status. If you see the following warning: "HTTP request status Fails" this means your drupal/LAMP stack is unable to use DNS to callback to itself. In my case I used my machines's IP to access my Drupal instance. So, rather that use "localhost" use your machine's IP address (you can use ipconfig on MSWin or ifconfig on Mac/Linux) and use that for finishing the twitter account setup process.
Again, not
http://localhost/drupal-7.19/twitter/oauth
but
http://10.0.1.9/drupal-7.19/twitter/oauth
(substituting your machine's IP address)
I was getting the exact same error which i fixed by adding appropriate proxy server details.
Notice: Undefined property: stdClass::$data in Twitter->request() (line 131 of C:\wamp\www\test_twitter\sites\all\modules\twitter\twitter.lib.php
The problem was due to proxy-settings. I added values for $conf['proxy_server'] and $conf['proxy_port'] in settings.php and this error vanished.
I also verified that if i remove the proxy settings, this error is reproduced again.
Install oauth_common and twitter on your Drupal site
Check that both Oauth and the Twitter modules are enabled. I didn't use any of the other Twitter modules to do this
Go to the twitter module in Drupal
Go to the Configure (button) -> settings (Tab)
(note that the Callback URL is http://localhost/yourwebsite/twitter/oauth i.e. it doesn’t have to be 127.0.0.1)
Click on the link that says register your application
Go to twitter and sign in to be a developer
Add a new application, making a distinct feed name
Enter your site details
For localhost use: http://127.0.0.1:8000/twitter/oauth for both the website and callback URLs
Press save when you've done
Next go to the Test OAuth button - this will give you your illusive consumer key and consumer secret key
Back to the Drupal website and and to the twitter module to configure (button) -> settings (Tab)
Copy and paste these consumer and consumer secret keys you just got
Press Save configuration
Hopefully no errors.
Go to the twitter tab in the module and hopefully your twitter avatar has appeared
Read the top of the page where it says "Tweets are pulled from Twitter by running cron. You can view the full list of tweets at the Tweets view."
Select the View Tweets checkbox and click view - Chances are your tweets won’t show up in the next window - yet
Go to your drupal Configuration screen and to [System] Cron and press the "Run cron"
Now go back to view tweets from the twitter module and they should all appear
[This was a pig to figure out]
I need to read the file of another server via vb.net application. For this case I tried to read destination file by FileSream.
The destination file in the another server is (\dstServer\sheardFolder\dstFilename). for destination parent path I type \dstServer\sharedFolder\Filename and this string is included in the FileSream Class. When I run this application I get the error of asp.net with this subject (Login failure: unknown user name or bad password)...!!!
I set the following permissions on the parent folder at the destination Server
1- users have a full permission
2- everyone have a full permission
3- asp.net have a full permission
Note: I searched in the internet and noticed that in the first step I should connect to the destination Server and my users should be authenticated by the destination Server.
After that I used .Net security classes and advapi32.dll , Kernel32.dll also impersonateValidUser.
I set the destination Server username and destination Server password and destination Server name or IP in the impersonateValidUser function but when I run the applciation, I get the response (failed) which means that connect to the destination Server is failed.
This application that is used to connect the users with destination server was in the following microsoft sample code: http://support.microsoft.com/kb/842789
Please give me tips.
Thanks in advance.